package com.neborosoft.FlyingDog.android.playing.modes;

import android.app.Activity;
import com.neborosoft.FlyingDog.R;
import com.neborosoft.FlyingDog.android.gui.adapters.listview.GenreListAdapter;
import com.neborosoft.android.gui.adapters.listview.ViewArrayAdapter;
import com.neborosoft.android.gui.wrappers.ListViewSwitcher;
import com.neborosoft.lib.collections.tree.MultiStepsNavigationTree;

/**
 * Project: FlyingDog
 * User: stikhonenko
 * Date: 3/7/13
 * Time: 5:31 PM
 */
public class GenresMode extends TagsMode{
    public GenresMode(Activity activity, ListViewSwitcher listViewSwitcher, MultiStepsNavigationTree tree) {
        super(activity, listViewSwitcher, tree);
    }

    @Override
    protected int getTabsResourceId() {
        return R.id.genreTabs;
    }

    @Override
    protected int getSongsTabId(){
        return R.id.songsOfGenreTab;
    }

    @Override
    protected Class<? extends ViewArrayAdapter> getTagsLevelAdapterClass() {
        return GenreListAdapter.class;
    }
}
